package com.hedl.practice.diyJava.inherit;

public class StudyInherit {
    public static void main(String[] args) {
        Student s = new Student("张三",20,1);
        System.out.println(s.age);
        System.out.println(s.name);
        System.out.println(s.score);




    }
}
